package com.cedric.yixianpai.server.Utils;

/**
 * 返回对局结果
 */
public class GameResult {
    private String Winner;
    private int turn;
    private String p1Name;
    private String p2Name;
    private int p1HpLast;
    private int p2HpLast;

    public GameResult(String winner, int turn, String p1Name, String p2Name, int p1HpLast, int p2HpLast) {
        Winner = winner;
        this.turn = turn;
        this.p1Name = p1Name;
        this.p2Name = p2Name;
        this.p1HpLast = p1HpLast;
        this.p2HpLast = p2HpLast;
    }

    public String getWinner() {
        return Winner;
    }

    public void setWinner(String winner) {
        Winner = winner;
    }

    public String getP1Name() {
        return p1Name;
    }

    public void setP1Name(String p1Name) {
        this.p1Name = p1Name;
    }

    public String getP2Name() {
        return p2Name;
    }

    public void setP2Name(String p2Name) {
        this.p2Name = p2Name;
    }

    public int getTurn() {
        return turn;
    }

    public void setTurn(int turn) {
        this.turn = turn;
    }

    public int getP1HpLast() {
        return p1HpLast;
    }

    public void setP1HpLast(int p1HpLast) {
        this.p1HpLast = p1HpLast;
    }

    public int getP2HpLast() {
        return p2HpLast;
    }

    public void setP2HpLast(int p2HpLast) {
        this.p2HpLast = p2HpLast;
    }
}
